package com.hongxun.modules.csg.entity.dxf;

/**
 * Created by xiaoji on 2016/3/23.
 */
public class Circle  {
    private String id;//句柄
    private String x10;//起点（在 WCS 中）DXF：X 值；APP：三维点
    private String y20;//起点（在 WCS 中）DXF：Y 值；APP：三维点
    private String z30="0.0";//起点（在 WCS 中）DXF：Z 值；APP：三维点
    private String r40;//起点（在 WCS 中）DXF：Z 值；APP：三维点
    private String stroke62="1";//颜色

    public Circle(String x10, String y20, String z30, String r40) {
        this.x10 = x10;
        this.y20 = y20;
        this.z30 = z30;
        this.r40 = r40;
    }

    /**
     * 组元圆圈
     * @param x10 圆点X值
     * @param y20 圆点Y值
     * @param r40 半径
     */
    public Circle(String x10, String y20, String r40) {
        this.x10 = x10;
        this.y20 = y20;
        this.z30 = "0.0";
        this.r40 = r40;
    }

    public String getStroke62() {
        return stroke62;
    }

    public void setStroke62(String stroke62) {
        this.stroke62 = stroke62;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getX10() {
        return x10;
    }

    public void setX10(String x10) {
        this.x10 = x10;
    }

    public String getY20() {
        return y20;
    }

    public void setY20(String y20) {
        this.y20 = y20;
    }

    public String getZ30() {
        return z30;
    }

    public void setZ30(String z30) {
        this.z30 = z30;
    }

    public String getR40() {
        return r40;
    }

    public void setR40(String r40) {
        this.r40 = r40;
    }
}
